package com.spring.shiro.mapper;

import com.spring.shiro.entity.User;
import com.spring.shiro.entity.UserWithRole;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface UserMapper extends Mapper<User> {
    List<User> findUserWithDept(User user);

    List<UserWithRole> findUserWithRole(Long userId);
}
